package com.sidecar

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController

@SpringBootApplication
@EnableDiscoveryClient
class SideApp

fun main(args: Array<String>) {
    runApplication<SideApp>(*args)
}

//@RestController
//class SidecarController {
//    @GetMapping("/")
//    fun hello(): String {
//        return "Hello from Spring Sidecar!"
//    }
//}